<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            border: 1px solid;
        }
    </style>
</head>
<body>
    
    <div id="app"></div>

    <div id="app2"></div>







    <script>

        document.write('刘享受');
        document.write('<br/>');
        document.write('高危');
        document.write('<br/>');
        document.write('林余生');
    
        // alert(232323);
        // alert('hello');

        document.getElementById('app').innerHTML = '<div><button>点我啊</button></div>';
        document.getElementById('app2').innerText = '<div><button>点我啊</button></div>';
    
        console.log(234234);
        console.log('hello');
        console.log(10+20);
        console.log('\n');

        console.warn('对不起,你xxxx');
        console.error('程序报错了');
        

    </script>
</body>
</html>